package com.city.controller.party;



import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.HashMap;

/**
 * @deprecation: 党建后台管理控制器
 * @author: 王宇
 * @date: 2018-05-20 8:40
 */
@Controller
@RequestMapping("/party")
public class ForeController {




    /**
     * @deprecation: 党组织列表
     * @author: 王宇
     * @date: 2018-05-23 10:38
     */
    @PostMapping("/fore/grouplist")
    public String list(HashMap<String,Object> map){


        return "/party/fore/grouplist";
    }




    /**
     * @deprecation: 添加党组织
     * @author: 王宇
     * @date: 2018-05-23 10:41
     */
    @PostMapping("/fore/addgroup")
    public String root(HashMap<String,Object> map){

        return "/party/fore/addgroup";
    }


    /**
      *@author:WY
      *@date: 2018/7/26 10:56
      *@description:组织人员列表
     */

    @PostMapping("/fore/personlist")
    public String renyuan(HashMap<String,Object> map){


        return "/party/fore/personlist";
    }
    /**
     *@author:WY
     *@date: 2018/7/26 10:56
     *@description:添加人员
     */
    @PostMapping("/fore/addperson")
    public String tianjia(HashMap<String,Object> map){


        return "/party/fore/addperson";
    }



    /**
     * @deprecation: 出国人员管理
     * @author: 王宇
     * @date: 2018-05-25 10:10
     */
    @PostMapping("/fore/abroad")
    public String order(HashMap<String,Object> map){

        return "/party/fore/abroad";
    }




    /**
     * @deprecation: 添加课程
     * @author:WY
     * @date: 2018/6/15 14:02
     */
    @PostMapping("/fore/addlesson")
    public String policy(){
        return "/party/fore/addlesson";
    }

    /**
     * @deprecation: 关系转入转出
     * @author:WY
     * @date: 2018/6/15 14:22
     */
    @PostMapping("/fore/changelist")
    public String laws(){
        return "/party/fore/changelist";
    }

    /**
     * @deprecation:学生数据信息
     * @author:WY
     * @date: 2018/6/15 18:34
     */
    @PostMapping("/fore/studentlist")
    public String cropDescription(HashMap<String,Object> map){


        return "/party/fore/studentlist";
    }

    /**
     * @deprecation: 添加学生
     * @author:WY
     * @date: 2018/6/15 19:15
     */
    @PostMapping("/fore/addstudent")
    public String pesticide(HashMap<String,Object> map){
        return "/party/fore/addstudent";
    }

    /**
     *
     * @deprecation: 文章列表
     * @author:WY
     * @date: 2018/6/15 20:07
     */
    @PostMapping("/fore/articlelist")
    public String pert(){
        return "/party/fore/articlelist";
    }

    /**
     * @deprecation: 添加文章
     * @author:WY
     * @date: 2018/6/18 15:03
     */

    @PostMapping("/fore/addarticle")
    public String diease(){
        return "/party/fore/addarticle";
    }

    /**
     * @deprecation:学期列表
     * @author:WY
     * @date: 2018/6/16 8:38
     */
    @PostMapping("/fore/lessonlist")
    public String doctor(HashMap<String,Object> map){


        return "/party/fore/lessonlist";
    }

    /**
     *
     * @deprecation: 个人资料
     * @author:WY
     * @date: 2018/6/15 20:07
     */
    @PostMapping("/fore/person")
    public String getPerson(HashMap<String,Object> map, HttpSession session){



        return "/party/fore/personalInfo";
    }

    /**
     *
     * @deprecation: 修改密码
     * @author:WY
     * @date: 2018/6/15 20:07
     */
    @PostMapping("/fore/updatepassword")
    public String updatePwd(){
        return "/party/fore/updatePassword";
    }

    /**
     *
     * @deprecation: 入党申请
     * @author:WY
     * @date: 2018/6/15 20:07
     */
    @PostMapping("/fore/rdsq")
    public String informationCenter(HashMap<String,Object> map){


        return "/party/fore/rdsq";
    }


    /**
     * @author  王宇
     * @date 2018/8/4
     * @description  流动列表
     */
    @PostMapping("/fore/ldonglist")
    public String ldonglist(){

        return "/party/fore/ldonglist";
    }

    /**
     * @author  王宇
     * @date 2018/8/5
     * @description  流出列表
     */
    @PostMapping("/fore/lchulist")
    public String liuchu(){

        return "/party/fore/lchu";
    }
    /**
     * @author  王宇
     * @date 2018/8/6
     * @description 举报个人列表
     */
    @PostMapping("/fore/reportperson")
    public String reportperson(){


        return "/party/fore/reportperson";
    }


    /**
     * @author  王宇
     * @date 2018/8/6
     * @description  举报组织
     */
    @PostMapping("/fore/reportgroup")
    public String reportgroup(){

        return "/party/fore/reportgroup";
    }

}
